<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:t="http://myfaces.apache.org/tomahawk">

	<ui:composition>
		<p:dialog id="updateMultiTabla" header="Nuevo Registro"
			widgetVar="popUpdateMultiTabla" modal="true" width="450" appendToBody="true">
			<h:form id="idModalManMultiTabla">
				<h:panelGrid headerClass="cabeceraPanelSimple" cellspacing="0"
					cellpadding="5" styleClass="bordePanel"
					style="width:100%; margin-left: -2px;margin-bottom:5px " columns="1">
	
					<h:panelGrid columns="3" style="margin-top:-25px;" cellspacing="2" cellpadding="2">
						<p:spacer width="30" height="15" ></p:spacer>
						<p:spacer width="90" height="15" ></p:spacer>
						<p:spacer width="230" height="15" ></p:spacer>
	
						<p:spacer width="30" height="15" ></p:spacer>
						<h:outputText value="Descripción:" styleClass="texto" />
						<h:inputText styleClass="cajaST" style="width:150px"  value="#{paramMultiTablaController.rowMultiTabla.descripcion}" maxlength="100"></h:inputText>
						
						<p:spacer width="30" height="15" ></p:spacer>
						<h:outputText value="Valor 1:" styleClass="texto" />
						<h:inputText styleClass="cajaST" style="width:150px"  value="#{paramMultiTablaController.rowMultiTabla.valor1}" maxlength="20"></h:inputText>
	
						<p:spacer width="30" height="15" ></p:spacer>
						<h:outputText value="Valor 2:" styleClass="texto" />
						<h:inputText styleClass="cajaST" style="width:150px"  value="#{paramMultiTablaController.rowMultiTabla.valor2}" maxlength="20"></h:inputText>
					
						<p:spacer width="30" height="15" ></p:spacer>
						<h:outputText value="Compara 1:" styleClass="texto" />
						<h:inputText styleClass="cajaST" style="width:150px"  value="#{paramMultiTablaController.rowMultiTabla.compara1}" maxlength="20"></h:inputText>
	
						<p:spacer width="30" height="15" ></p:spacer>
						<h:outputText value="Compara 2:" styleClass="texto" />
						<h:inputText styleClass="cajaST" style="width:150px"  value="#{paramMultiTablaController.rowMultiTabla.compara2}" maxlength="20"></h:inputText>
						
						<p:spacer width="30" height="15" ></p:spacer>
						<h:outputText value="Descripción Larga:" styleClass="texto" />
						<p:inputTextarea value="#{paramMultiTablaController.rowMultiTabla.descripcionLarga}" style="width:150px" rows="3" cols="30" maxlength="4000"/>
						
						<p:spacer width="30" height="15" ></p:spacer>
						<h:outputText value="Activo:" styleClass="texto" />
						<h:selectOneMenu value="#{paramMultiTablaController.rowMultiTabla.indActivo}">  
				            <f:selectItem itemLabel="S" itemValue="S" />  
				            <f:selectItem itemLabel="N" itemValue="N" />
				        </h:selectOneMenu>  
				
						<p:spacer width="30" height="15" ></p:spacer>
						<p:spacer width="90" height="15" ></p:spacer>
						<p:spacer width="230" height="15" ></p:spacer>
						
						<p:spacer width="20" height="15" ></p:spacer>
						<p:commandButton id="confirmSaveMultiTablla" value="Guardar" oncomplete="popUpdateMultiTabla.hide()" update=":formPrincipal:growl,:formPrincipal:idContentMain:idListDataMultiTabla"
		        			actionListener="#{paramMultiTablaController.newRowMultiTabla}"/>
		        		<p:commandButton id="declineSaveMultiTablla" value="Cancelar" onclick="popUpdateMultiTabla.hide()" type="button" />
					</h:panelGrid>
				</h:panelGrid>
			</h:form>
		</p:dialog>
	</ui:composition>
</jsp:root>